import BaseRequest from '~/utils/request';
import { HOSTS } from '~/constants/index'

/**
 * {{FILE_DESC}}
 */
class {{pascalCase FILE_NAME}}Service extends BaseRequest {
  constructor() {
    super({
      hostKey: HOSTS.API_BASE
    });
  }

  public queryData(payload: any): Promise<any> {
    return this.post({
      url: '',
      data: payload
    });
  }
}

export default new {{pascalCase FILE_NAME}}Service();
